package com.shanzhe.eshop.order.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.shanzhe.eshop.common.util.AbstractObject;
import lombok.Data;

import javax.persistence.Table;

/**
 * @Author yinwei
 * @create 2021/9/26
 * @Version 1.0
 * @desc 订单实体
 */
@Data
public class OrderDTO extends AbstractObject {

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 用户账号id
     */
    private Long userAccountId;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    /**
     * 收货人
     */
    private String consignee;

    /**
     * 收货地址
     */
    private String deliveryAddress;

    /**
     * 收货人手机号码
     */
    private String consigneeCellPhoneNumber;

    /**
     * 运费
     */
    private Double freight;

    /**
     * 支付方式
     */
    private Integer payType;

    /**
     * 订单总金额
     */
    private Double totalAmount;

    /**
     * 折扣总金额
     */
    private Double discountAmount;

    /**
     * 优惠券抵扣金额
     */
    private Double couponAmount;

    /**
     * 应付金额
     */
    private Double payableAmount;

    /**
     * 发票抬头
     */
    private String invoiceTitle;

    /**
     * 纳税人识别号
     */
    private String taxpayerId;

    /**
     * 订单备注
     */
    private String orderComment;
}
